package com.payment.system.domain;

import com.payment.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.payment.common.base.BaseEntity;
import java.util.Date;

/**
 * 卡bin维护表 hatchet_card_bin
 * 
 * @author payment
 * @date 2018-12-27
 */
public class CardBin extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	/** 银行名称 */
	@Excel(name = "银行名称")
	private String bankName;
	/** 卡名称 */
	@Excel(name = "卡名称")
	private String cardName;
	/** 卡类型名称 */
	@Excel(name = "卡片类型")
	private String cardType;

	/** 卡片标识 */
	@Excel(name = "卡片标识")
	private String cardSign;

	/** 卡号长度 */
	@Excel(name = "卡号长度")
	private Integer cardNoLen;
	/** 卡bin长度 */
	@Excel(name = "卡bin长度")
	private Integer cardBinLen;
	/** 时间 */
	@Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
	private Date cardTime;

	/** id */
	private String iD;
	/** 银行id */
	private String bankId;

	/** 卡片类型 */
	private String cardTypeId;


//	自定义


	public void setID(String iD) 
	{
		this.iD = iD;
	}

	public String getID() 
	{
		return iD;
	}
	public void setBankId(String bankId) 
	{
		this.bankId = bankId;
	}

	public String getBankId() 
	{
		return bankId;
	}
	public void setCardName(String cardName) 
	{
		this.cardName = cardName;
	}

	public String getCardName() 
	{
		return cardName;
	}
	public void setCardTypeId(String cardTypeId) 
	{
		this.cardTypeId = cardTypeId;
	}

	public String getCardTypeId() 
	{
		return cardTypeId;
	}
	public void setCardSign(String cardSign) 
	{
		this.cardSign = cardSign;
	}

	public String getCardSign() 
	{
		return cardSign;
	}
	public void setCardNoLen(Integer cardNoLen) 
	{
		this.cardNoLen = cardNoLen;
	}

	public Integer getCardNoLen() 
	{
		return cardNoLen;
	}
	public void setCardBinLen(Integer cardBinLen) 
	{
		this.cardBinLen = cardBinLen;
	}

	public Integer getCardBinLen() 
	{
		return cardBinLen;
	}
	public void setCardTime(Date cardTime) 
	{
		this.cardTime = cardTime;
	}

	public Date getCardTime() 
	{
		return cardTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("iD", getID())
            .append("bankId", getBankId())
            .append("cardName", getCardName())
            .append("cardTypeId", getCardTypeId())
            .append("cardSign", getCardSign())
            .append("cardNoLen", getCardNoLen())
            .append("cardBinLen", getCardBinLen())
            .append("cardTime", getCardTime())
            .toString();
    }

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getCardType() {
		return cardType;
	}

	public void setCardType(String cardType) {
		this.cardType = cardType;
	}
}
